<me_stop_disable> : Disable Ability To Stop
Macro Execution Using "Shift+Esc"
<me_stop_enable> : Enable
Ability To Stop Macro Execution Using "Shift+Esc"
Macro execution (by default) can be stopped using "Shift+Esc" hotkey. If it is necessary, the macro developer can disable this using <me_stop_disable> command. After this command is processed, pressing "Shift+Esc" will have no effect. The <me_stop_enable> command enables "Shift+Esc" again.
Syntax:
<me_stop_disable>
<me_stop_enable>
No parameters.
Example:
<#> This macro shows how to enable/disable "Shift+Esc"
<#>
<cmds>
<me_stop_disable>
<#> Part of the macro that cannot be interrupted for integrity reasons comes
here
<#> We will supply it by 5 seconds wait command in this example
<msg>(-100,-100,"You cannot stop macro execution using %_vQuoteChar%Shift+Esc%_vQuoteChar%
hotkey now.
Wait for 5 seconds, please...","Message",0)
<wx>(5000)
<msgoff>
<me_stop_enable>
<#> The rest of the macro can be interrupted using "Shift+Esc"
<msg>(-100,-100,"Now you can stop macro execution using %_vQuoteChar%Shift+Esc%_vQuoteChar%
hotkey.","Message",0)
<wx>(5000)
<msgoff>